<?php defined('IN_PHPCMS') or exit('No permission resources.'); ?><?php include template("content","header"); ?>  
<!--内容区--> 
	<div id="content_inner">
	  	<?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"speciallist\" data=\"op=speciallist&tag_md5=45d97517f03bef607f9cef6b513390c2&action=indexcategory&num=6\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">编辑</a>";}$speciallist_tag = pc_base::load_app_class("speciallist_tag", "speciallist");if (method_exists($speciallist_tag, 'indexcategory')) {$data = $speciallist_tag->indexcategory(array('limit'=>'6',));}?>
			<?php $n=1;if(is_array($data)) foreach($data AS $v) { ?>
				<?php if($v['catId'] == '0'){
					continue;
				}?>
				<div class="column">
				   <h3><?php echo $CATEGORYS[$v['catId']]['catname'];?></h3>
				   <ul>
				    <?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"content\" data=\"op=content&tag_md5=037474afdce42e741bc5b482c6adead9&action=lists&catid=%24v%5BcatId%5D&num=5&order=id+DESC\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">编辑</a>";}$content_tag = pc_base::load_app_class("content_tag", "content");if (method_exists($content_tag, 'lists')) {$data = $content_tag->lists(array('catid'=>$v[catId],'order'=>'id DESC','limit'=>'5',));}?> 
						<?php $n=1;if(is_array($data)) foreach($data AS $r) { ?> 
							<li>
						    <span><?php echo date('Y-m-d', $r[updatetime]);?></span>
						    <a href="<?php echo $r['url'];?>"  target="_blank"><?php echo str_cut($r[title],50)?></a>
						  </li>	 
						<?php $n++;}unset($n); ?> 
					<?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>
					</ul>
				    <li class="more"><a href="<?php echo $CATEGORYS[$v['catId']]['url'];?>">更多&gt;</a>  </li>
				</div>  
	    	<?php $n++;}unset($n); ?>
	    <?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>
	  
	</div>
    <div id="cf"></div>
<?php include template("content","footer"); ?>  